app.config(function($stateProvider, $urlRouterProvider){
	$urlRouterProvider.otherwise('today');
	$stateProvider.state('today',{
		url: '/today',
		templateUrl: './views/today/today.html'
		// ./views/today/today.html
	})
	.state('live',{
		url: '/live',
		templateUrl: './views/live/live.html'
	})
	.state('global',{
		url: '/global',
		templateUrl: './views/global/global.html'
	})
	.state('cart',{
		url: '/cart',
		templateUrl: './views/cart/cart.html',
		reload: true,
		cache: 'false'
	})
	.state('mine',{
		url: '/mine',
		templateUrl: './views/mine/mine.html'
	})
	.state('search', {
		url: '/search',
		templateUrl: './views/live/liveSearch/search.html'
	}).state('fourm', {
		url: '/fourm',
		templateUrl: './views/fourm/fourm.html'
	}).state('classify',{
		url:'/classify',
		templateUrl:'./views/classify/classify.html'
	})
	.state('zhuan',{
		url: '/zhuan',
		templateUrl: './views/today/zhuan/zhuan.html'
	})
	.state('baoyou',{
		url: '/baoyou',
		templateUrl: './views/advert/advert.html'
	})
	.state('particulars', {
		url: '/particulars/:producterId',
		templateUrl: './views/particulars/particulars.html'
	})
	.state('disembark', {
		url: '/disembark',
		templateUrl: './views/disembark/disembark.html'
	})
	.state('register', {
		url: '/register',
		templateUrl: './views/register/register.html'
	})
	.state('topay', {
		url: '/address',
		templateUrl: './views/cart/address.html'
	})
})